package com.example.demo.mapper;

import com.example.demo.domain.User;
import com.example.demo.domain.Vo.StudentInforVo;
import com.example.demo.domain.Vo.UserListVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface UserMapper {

    public List<UserListVo> selectUser(User user);

    public void insertUser(User user);

    public void  updateUserByAccount(User user);

    public void  delUserByAccount(@Param("account") String account);

    public User selectOneUser(User user);

    public List<StudentInforVo> selectStudentInfor();

}
